package ygw.study.designPatterns.adapter;

/**
 * <p>
 * 创建实现了 AdvancedMediaPlayer 接口的实体类
 * </p>
 * <p>
 * Copyright:2021.All rights reserved.
 * </p>
 * <p>
 * Company:Zsoft
 * </p>
 * <p>
 * CreateDate:2021-05-21 13:11
 * </p>
 *
 * @author YuGongWen
 * @history Mender:YuGongWen；Date:2021-05-21 13:11；
 */
public class Mp4Player implements AdvancedMediaPlayer {

    @Override
    public void playVlc(String fileName) {
        //什么也不做
    }

    @Override
    public void playMp4(String fileName) {
        System.out.println("Playing mp4 file. Name: " + fileName);
    }
}